<%-- 
    Document   : template
    Created on : 06/08/2011, 12:31:47
    Author     : Graciano
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../../WEB-INF/imports.jspf" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<!--redirect after login-->
<%--<mtw:requiresAuthentication redir="true" />--%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/styles.css"  media="screen" />
        <script src="script/jquery-1.6.2.min.js" type="text/javascript"></script>
        <mtw:inputMaskConfig />
        <mtw:inputDateConfig />
        <title>.:: FACILIUS ::.</title>
 
        <script type="text/javascript">
            function addElement() {

                var ni = document.getElementById('myDiv');

                var numi = document.getElementById('theValue');

                var num = (document.getElementById('theValue').value -1)+ 2;

                numi.value = num;

                var paragrafo = document.createElement("p");

                var newdiv = document.createElement("input");
                newdiv.setAttribute('type', 'file');
                newdiv.setAttribute('id','anexo' + num);
                newdiv.setAttribute('name','anexo' + num);
                //                newdiv.innerHTML='<br />';
                paragrafo.appendChild(newdiv);
                ni.appendChild(paragrafo);

            }
            $(document).ready(function(){
                $("#msg").hide().delay(200).fadeIn(1300).delay(2000).fadeOut(1000);
            });
        </script>
    </head>
    <body>
        <div id="container">
            <template:block id="header"/>
            <template:block id="menu"/>
             <div id="jquery-notify-bar">
                ${errors.msg}
            </div>
            <template:block id="body"/>
            <template:block id="footer"/>
        </div>
    </body>
</html>
